package com.zhdl.common.ytools;

import com.github.xingshuangs.iot.protocol.s7.enums.EPlcType;
import com.github.xingshuangs.iot.protocol.s7.service.S7PLC;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class S7Config {
    @Bean
    public S7PLC s7PLC(){
        return new S7PLC(EPlcType.S1200,"192.168.1.10");
    }
}
